import tkinter as tk

class BaseSubWindow(tk.Frame):
    """子窗口基础类"""

    def __init__(self, master, user=None):
        super().__init__(master)
        self.user = user  # 保存传入的用户数据
        self.create_widgets()

    def create_widgets(self):
        """创建子窗口内容（需要子类实现）"""
        pass